Abstract
In this paper, we present Velocity, a decentralized market deployed on Ethereum for trading a custom type of derivative option. To enable the smart contract to work, we also implement a price fetching tool called PriceGeth. We present this as a case study, noting challenges in development of the system that might be of independent interest to whose working on smart contract implementations. We also apply recent academic results on the security of the Solidity smart contract language in validating our code’s security. Finally, we discuss more generally the use of smart contracts in modelling financial derivatives.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
or any other events that an options contract can be based on.
- 5.
Ethereum symbol.
- 6.
Fix for the multiple payout bug: https://github.com/VelocityMarket/Options-Contract/commit/f3c8d0ef66b886c9ee8b432e92c83f3a4fb525ba.
- 7.
Simple collared option smart contract: https://github.com/VelocityMarket/Options-Contract.
- 8.
Data and Payments for your Smart Contracts https://smartcontract.com/.
- 9.
Price API for Smart-Contracts on Ethereum Blockchain https://github.com/VelocityMarket/pricegeth.
- 10.
Official Go implementation of the Ethereum protocol https://geth.ethereum.org.
- 11.
PriceGeth Library https://github.com/VelocityMarket/pricegeth.
- 12.
- 13.
- 14.
Wei: Smallest unit of Ethereum, equevalent to 0.000000000000000001 ETH.
- 15.
put into permanent storage.
- 16.
Long-term gas cost changes for IO-heavy operations to mitigate transaction spam attacks https://github.com/ethereum/EIPs/issues/150.
- 17.
References
Atzei, N., Bartoletti, M., Cimoli, T.: A survey of attacks on ethereum smart contracts (SoK). In: Maffei, M., Ryan, M. (eds.) POST 2017. LNCS, vol. 10204, pp. 164–186. Springer, Heidelberg (2017). https://doi.org/10.1007/978-3-662-54455-6_8
Benet, J.: Ipfs-content addressed, versioned, p2p file system (2014). arXiv:1407.3561
Bentov, I., Mizrahi, A., Rosenfeld, M.: Decentralized prediction market without arbiters (2017). arXiv:1701.08421
Buterin, V., et al.: A next-generation smart contract and decentralized application platform (2014)
Clark, J., Bonneau, J., Felten, E.W., Kroll, J.A., Miller, A., Narayanan, A.: On decentralizing prediction markets and order books. In: WEIS (2014)
Irvine, D.: Maidsafe distributed file system. Technical report, maidsafe.net limited (2010)
Kievit-Kylar, B., Horlacher, C., Godard, M., Saucier, C.: Equibit: a peer-to-peer electronic equity system (2016). arXiv:1612.06953
Luu, L., Chu, D.-H., Olickel, H., Saxena, P., Hobor, A.: Making smart contracts smarter. In: Proceedings of 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 254–269. ACM (2016)
Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system (2008)
Szabo, N.: The idea of smart contracts (1997)
Wood, G.: Ethereum: a secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper (2014)
Zhang, F., Cecchetti, E., Croman, K., Juels, A., Shi, E.: Town crier: an authenticated data feed for smart contracts. In: Proceedings of 2016 ACM SIGSAC Conference on Computer and Communications Security, pp. 270–282. ACM (2016)
okturtles: A blockchain-based DNS, http server that fixes https security (2014)
Finley, K.: A 50 million dollar hack just showed that the DAO was all too human. Wired (2016)
Demian Lerner, S.: Rootstock: bitcoin powered smart contracts. Whitepaper (2015)
Daian, P.: Analysis of the DAO exploit. Hacking, Distributed (2016)
Reitwiessner, C.: Security alert: solidity variables can be overwritten in storage. Ethereum Blog (2016)
ConsenSys: Ethereum contract security techniques and tips. ConsenSys (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
A Demo Website (UI) for the Velocity Smart Contract
A Demo Website (UI) for the Velocity Smart Contract
See Fig. 5.
Rights and permissions
Copyright information
© 2017 International Financial Cryptography Association
About this paper
Cite this paper
Eskandari, S., Clark, J., Sundaresan, V., Adham, M. (2017). On the Feasibility of Decentralized Derivatives Markets. In: Brenner, M., et al. Financial Cryptography and Data Security. FC 2017. Lecture Notes in Computer Science(), vol 10323. Springer, Cham. https://doi.org/10.1007/978-3-319-70278-0_35
Download citation
DOI: https://doi.org/10.1007/978-3-319-70278-0_35
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-70277-3
Online ISBN: 978-3-319-70278-0
eBook Packages: Computer ScienceComputer Science (R0)